package cn.foolishbird.crow.core;

/**
 * 身份策略
 *
 * @author foolish-bird
 */
@FunctionalInterface
public interface IdentityStrategy<T> {

    /**
     * 身份信息
     *
     * @return
     */
    T identity();

}
